package com.nanfangzhe.shirodemo.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.nanfangzhe.shirodemo.entity.UUser;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author nanfangzhe
 * @since 2020-11-25
 */
public interface UUserService extends IService<UUser> {

	UUser getByUsername(String username);

	UUser getBy(String email, String username, String password);

	Boolean add(UUser user);
	
	List<String> getPerms(int id);

	List<String> getRoles(int id);

}
